package com.github.common.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * <p>User: Mu Yunlong
 * <p>Date: 2016年2月24日 下午4:53:08
 * <p>Version: 1.0
 */
public abstract class BaseFormBean implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id = UUID.randomUUID().toString();
    private Integer priority = Integer.valueOf(1);
    private Integer sortOrder = Integer.valueOf(1);
    private Integer editable = Integer.valueOf(1);
    private Integer enabled = Integer.valueOf(1);
    private Date createDataTime = new Date();
    private String createDataUsername;
    private Date updateDataTime = new Date();
    private String updateDataUsername;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getEditable() {
        return editable;
    }

    public void setEditable(Integer editable) {
        this.editable = editable;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Date getCreateDataTime() {
        return createDataTime;
    }

    public void setCreateDataTime(Date createDataTime) {
        this.createDataTime = createDataTime;
    }

    public String getCreateDataUsername() {
        return createDataUsername;
    }

    public void setCreateDataUsername(String createDataUsername) {
        this.createDataUsername = createDataUsername;
    }

    public Date getUpdateDataTime() {
        return updateDataTime;
    }

    public void setUpdateDataTime(Date updateDataTime) {
        this.updateDataTime = updateDataTime;
    }

    public String getUpdateDataUsername() {
        return updateDataUsername;
    }

    public void setUpdateDataUsername(String updateDataUsername) {
        this.updateDataUsername = updateDataUsername;
    }

}
